package org.maylove.wuziqi.service;

import org.maylove.wuziqi.pojo.game.dto.GameRoomDto;
import org.maylove.wuziqi.pojo.game.dto.GameRoomPlayerDto;

public interface GameService {
    String prepare(Integer roomId, Long userId);

    GameRoomDto get(Long userId, Integer roomId);

    String game(Long userId, Integer roomId, Integer x, Integer y);

    GameRoomPlayerDto get(Integer roomId);

    String back(Long userId, Integer roomId);

    String giveUp(Long userId, Integer roomId);

    void cleanRoom(Integer roomId);

    void free(int roomId);

    String exit(Long userId, Integer roomId);

    String trans(Long userId, Integer roomId);

    Integer[][] getBoard(Integer roomId);
}
